package com.cnyz.entity;

import com.cnyz.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("试卷问题对象")
@Data
public class Question extends BaseEntity {
    @ApiModelProperty(value="问题内容")
    private String content;

    @ApiModelProperty(value="问题类型 0：单选 1：填空 2:判断")
    private Integer type;

    @ApiModelProperty(value="科目")
    private String subject;

    @ApiModelProperty(value="文件来源(从哪个文件生成的)")
    private String file;

    @ApiModelProperty(value="问题分值")
    private Integer score;

    @ApiModelProperty(value="问题答案 (单选题为选项内容，填空题为填空内容，判断题为正确或错误)")
    private String answer;

    @ApiModelProperty(value="选择题选项1")
    private String option1;

    @ApiModelProperty(value="选择题选项2")
    private String option2;

    @ApiModelProperty(value="选择题选项3")
    private String option3;

    @ApiModelProperty(value="选择题选项4")
    private String option4;

    @ApiModelProperty(value="题目解析")
    private String analysis;








}
